// Funkce tlačítek
Texyla.prototype.buttons = {
	h1: function() {this.texy.heading('#');},
	h2: function() {this.texy.heading('*');},
	h3: function() {this.texy.heading('=');},
	h4: function() {this.texy.heading('-');},
	bold: function() {this.texy.phrase('**');},
	italic: function() {this.texy.phrase('*');},
	del: function() {this.texy.phrase('--');},
	center: function() {this.texy.align('<>');},
	left: function() {this.texy.align('<');},
	right: function() {this.texy.align('>');},
	justify: function() {this.texy.align('=');},
	ul: function() {this.texy.list('ul');},
	ol: function() {this.texy.list('ol');},
	ol_romans: function() {this.texy.list('romans');},
	ol_romans_small: function() {this.texy.list('smallRomans');},
	ol_alphabet_small: function() {this.texy.list('smallAlphabet');},
	ol_alphabet_big: function() {this.texy.list('bigAlphabet');},
	blockquote: function() {this.texy.list('bq');},
	indent: function() {this.texy.indent();},
	unindent: function() {this.texy.unindent();},
	sub: function() {this.texy.phrase('__');},
	sup: function() {this.texy.phrase('^^');},
	link: function() {this.texy.link(prompt(this.lng.linkUrl, 'http://'));},
	acronym: function() {this.texy.acronym(prompt(this.lng.acronymTitle, ''));},
	hr: function() {this.texy.line();},
	code: function() {this.texy.block('code');},
	code_html: function() {this.texy.block('code html');},
	code_css: function() {this.texy.block('code css');},
	code_js: function() {this.texy.block('code js');},
	code_php: function() {this.texy.block('code php');},
	code_sql: function() {this.texy.block('code sql');},
	code_inline: function() {this.texy.phrase('`');},
	html: function() {this.texy.block('html');},
	notexy: function() {this.texy.phrase("''", "''");},
	web: function() {window.open('http://texyla.jaknato.com/');},
	syntax: function() {window.open(this.lng.syntaxUrl);},
	div: function() {this.texy.block('div');},
	comment: function() {this.texy.block('comment');},
	text: function() {this.texy.block('text');},
	preview: function () {this.view("preview");},
	htmlPreview: function () {this.view("htmlPreview");},
	edit: function () {this.view("edit");},
	submit: function () {this.submit();}
};